Package-level declarations
Types
Link copied to clipboard
Represents a pair of a key and its (future) value in the map.
Link copied to clipboard
Represents a node in the inner structure of KoneMap.
Link copied to clipboard
Link copied to clipboard
Represents a node in the inner structure of KoneMutableMap. See KoneMapNode for general definition.
Link copied to clipboard
interface KoneMutableReifiedMap<Key, Value> : KoneReifiedMap<Key, Value> , KoneMutableMap<Key, Value>
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <Element, Key> KoneIterable<Element>.associateByReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key): KoneReifiedMap<Key, Element>
inline fun <Element, Key, Value> KoneIterable<Element>.associateByReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): KoneReifiedMap<Key, Value>
inline fun <Element, Key> KoneIterable<Element>.associateByReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key): KoneReifiedMap<Key, Element>
inline fun <Element, Key, Value> KoneIterable<Element>.associateByReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Element, Key, Destination : KoneMutableMap<in Key, in Element>> KoneIterable<Element>.associateByTo(destination: Destination, keySelector: (Element) -> Key): Destination
inline fun <Element, Key, Value, Destination : KoneMutableMap<in Key, in Value>> KoneIterable<Element>.associateByTo(destination: Destination, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): Destination
Link copied to clipboard
inline fun <Element, Key, Value> KoneIterable<Element>.associateReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (Element) -> KoneMapEntry<Key, Value>): KoneReifiedMap<Key, Value>
inline fun <Element, Key, Value> KoneIterable<Element>.associateReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (Element) -> KoneMapEntry<Key, Value>): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Element, Key, Value, Destination : KoneMutableMap<in Key, in Value>> KoneIterable<Element>.associateTo(destination: Destination, transform: (Element) -> KoneMapEntry<Key, Value>): Destination
Link copied to clipboard
inline fun <Key, Value> KoneIterable<Key>.associateWithReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, valueSelector: (Key) -> Value): KoneReifiedMap<Key, Value>
inline fun <Key, Value> KoneIterable<Key>.associateWithReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, valueSelector: (Key) -> Value): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value, Destination : KoneMutableMap<in Key, in Value>> KoneIterable<Key>.associateWithTo(destination: Destination, valueSelector: (Key) -> Value): Destination
Link copied to clipboard
inline fun <Key, Value> buildKoneContextualMap(keyType: SuppliedType<Key>, builderAction: KoneMutableMap<Key, Value>.() -> Unit): KoneMap<Key, Value>
inline fun <Key, Value> buildKoneContextualMap(initialCapacity: UInt, keyType: SuppliedType<Key>, builderAction: KoneMutableMap<Key, Value>.() -> Unit): KoneMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> buildKoneContextualReifiedMap(keyType: SuppliedType<Key>, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneContextualReifiedMap(initialCapacity: UInt, keyType: SuppliedType<Key>, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> buildKoneReifiedMap(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneReifiedMap(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneReifiedMap(initialCapacity: UInt, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneReifiedMap(initialCapacity: UInt, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Key, Value> koneContextualMapOf(entry: KoneMapEntry<Key, Value>, keyType: SuppliedType<Key>): KoneMap<Key, Value>
fun <Key, Value> koneContextualMapOf(vararg entries: KoneMapEntry<Key, Value>, keyType: SuppliedType<Key>): KoneMap<Key, Value>
Link copied to clipboard
fun <Key, Value> koneContextualMutableMapOf(vararg entries: KoneMapEntry<Key, Value>, keyType: SuppliedType<Key>): KoneMutableMap<Key, Value>
Link copied to clipboard
fun <Key, Value> koneContextualMutableReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyType: SuppliedType<Key>): KoneMutableReifiedMap<Key, Value>
Link copied to clipboard
Link copied to clipboard
Returns simple KoneMapEntry instance that has the specified key and value.
Link copied to clipboard
fun <Key, Value> koneMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMap<Key, Value>
Link copied to clipboard
fun <Key, Value> koneMutableMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableMap<Key, Value>
fun <Key, Value> koneMutableMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> koneMutableReifiedMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
fun <Key, Value> koneMutableReifiedMapOf(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
inline fun <Key, Value> koneMutableReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
fun <Key, Value> koneMutableReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> koneReifiedMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
inline fun <Key, Value> koneReifiedMapOf(entry: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
fun <Key, Value> koneReifiedMapOf(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
inline fun <Key, Value> koneReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
fun <Key, Value> koneReifiedMapOf(entry: KoneMapEntry<Key, Value>, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
fun <Key, Value> koneReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
Link copied to clipboard
Link copied to clipboard
fun <Key, Value> KoneMutableMap<Key, Value>.set(entry: KoneMapEntry<Key, Value>): KoneMutableMapNode<Key, Value>
fun <Key, Value> KoneMutableMap<Key, Value>.set(node: KoneMapNode<Key, Value>): KoneMutableMapNode<Key, Value>
Link copied to clipboard
fun <Key, Value> KoneMutableMap<Key, Value>.setAllFrom(entries: KoneIterable<KoneMapEntry<Key, Value>>)
fun <Key, Value> KoneMutableMap<Key, Value>.setAllFrom(nodes: KoneIterable<KoneMapNode<Key, Value>>)
Link copied to clipboard